﻿using System.ComponentModel;

namespace SilverMindMap.Core.Model
{
    public class ObservableObject: INotifyPropertyChanged
    {
        protected virtual void RaisePropertyChanged(string propertyName)
        {
            var handler = this.PropertyChanged;
            if (handler != null)
                handler(this, new PropertyChangedEventArgs(propertyName));
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
